package com.eventx.test.service;

import com.eventx.bus.event.EventHandler;

class A implements EventHandler<String> {
    public static String EVENT_NAME = "AA";
    @Override
    public void handler(String s) {
        System.out.println(EVENT_NAME+"收到消息:"+s);
    }

    @Override
    public String getEventName() {
        return EVENT_NAME;
    }
}
